<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>普票审批系统</title>
    <link rel="stylesheet" href="/public/plugins/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/public/css/index.css" media="all">
    <link rel="stylesheet" type="text/css" href="/public/css/font-awesome.4.6.0.css">
    <link rel="stylesheet" href="/public/css/app.css" media="all">
    <style>
        .layui-layout-admin .layui-side {
            width: 220px;
            overflow-x: hidden;
            margin-top: 6px;
        }
        
        .kit-layout-admin .layui-header {
            height: 60px;
        }
        
        .kit-layout-admin .kit-side {
            top: 60px;
        }
        
        .layui-layout-admin .layui-logo {
            position: absolute;
            left: 0;
            top: 0;
            width: 220px;
            height: 100%;
            line-height: 60px;
            text-align: center;
            color: #FFF;
            font-size: 20px;
            font-weight: bold;
        }
        
        .layui-layout-admin .layui-header {
            background: #2b639f;
            background-position: center 0;
        }
        
        .layui-bg-black {
            background: #eff0f3 !important;
        }
        
        .layui-nav {
            background: #f4f4f4;
        }
        
        .layui-nav .layui-nav-item a {
            color: #fff;
        }
        
        .layui-nav .layui-nav-item a:hover {
            color: #fff;
            background: #0382a8;
        }
        
        .layui-nav .layui-nav-item .layui-nav-child a {
            color: #545353;
        }
        
        .layui-nav-itemed .layui-nav-child a:hover {
            color: #545353;
            background: #fff;
        }
        /*.layui-nav .layui-nav-more{border-top-color: rgba(12, 12, 12, 0.7);}*/
        
        .layui-body {
            position: absolute;
            left: 220px;
            right: 0;
            top: 0;
            bottom: 0;
            z-index: 998;
            width: auto;
            overflow: hidden;
            overflow-y: auto;
            box-sizing: border-box;
        }
        
        .layui-nav-itemed>a,
        .layui-nav-tree .layui-nav-title a,
        .layui-nav-tree .layui-nav-title a:hover {
            color: #fff !important;
        }
        
        .layui-nav-itemed .layui-nav-child {
            display: block;
            padding: 0;
            background-color: #d9e0e7 !important;
        }
        
        .layui-nav-tree .layui-nav-child,
        .layui-nav-tree .layui-nav-child a:hover {
            /* background: #405475; */
            color: #595757;
        }
        
        .layui-nav-tree .layui-nav-child a {
            padding-left: 45px;
            line-height: 40px;
        }
        
        .layui-nav-item {
            margin-bottom: 4px;
            background: #0a5bac;
        }
        
        .header-right {
            float: left;
            width: auto;
            height: 40px;
            line-height: 40px;
            margin: 10px 20px;
        }
        
        .fa,
        .layui-icon {
            margin-right: 10px;
            display: none
        }
    </style>
</head>

<body>
    <div class="layui-layout layui-layout-admin kit-layout-admin">

        <div class="layui-header">
            <div class="layui-logo">
                <img width="40" src="/public/images/gs.png" style="margin-right: 10px;" />专票审批系统</div>
            <div class="layui-logo kit-logo-mobile">K</div>
            <ul class="layui-nav layui-layout-right kit-nav">
                <li class="header-right">
                    Van,欢迎你！
                </li>
                <li class="header-right">
                    <a href="admin_cc.html" style="color: #FFF;">
                        <i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
                </li>
            </ul>
        </div>

        <div class="layui-side layui-bg-black kit-side">
            <div class="layui-side-scroll">
                <ul class="layui-nav layui-nav-tree" lay-filter="kitNavbar" kit-navbar>
                    <li class="layui-nav-item layui-nav-itemed">
                        <a href="javascript:;" data-url="/views/form.html" data-name="form" kit-loader>
                            <i class="fa fa-plug" aria-hidden="true"></i>
                            <span>发票代开</span>
                        </a>
                        <dl class="layui-nav-child layui-this">
                            <dd>
                                <a href="javascript:;" kit-target data-options="{url:'/pp_sh/fpdk',icon:'&#xe658;',title:'专票代开审核',id:'111'}">
                                    <i class="layui-icon">&#xe658;</i>
                                    <span>普票代开审核</span>
                                </a>
                            </dd>
                            <dd>
                                <a href="javascript:;" kit-target data-options="{url:'/pp_sh/fptj',icon:'&#xe658;',title:'专票统计',id:'112'}">
                                    <i class="layui-icon">&#xe658;</i>
                                    <span>专票统计</span>
                                </a>
                            </dd>
                        </dl>
                    </li>
                </ul>
            </div>
        </div>

        <div class="layui-body" id="container">
            <!-- 内容主体区域 -->
            <div style="padding: 15px;">主体内容加载中,请稍等...</div>
        </div>

        <div class="layui-footer">
            <!-- 底部固定区域 -->
            <!-- 2017 &copy;
            <a href="http://kit.zhengjinfan.cn/">kit.zhengjinfan.cn/</a> MIT license -->
        </div>
    </div>

    <script src="/public/plugins/layui/layui.js"></script>
    <script>
        var message;
        layui.config({
            base: '/public/build/js/'
        }).use(['app', 'message'], function() {
            var app = layui.app,
                $ = layui.jquery,
                layer = layui.layer;
            //将message设置为全局以便子页面调用
            message = layui.message;
            //主入口
            app.set({
                type: 'iframe'
            }).init();
            $('#pay').on('click', function() {
                layer.open({
                    title: false,
                    type: 1,
                    content: '<img src="build/images/pay.png" />',
                    area: ['500px', '250px'],
                    shadeClose: true
                });
            });

            //伸缩菜单
            $('.layui-nav-item > a').click(function() {
                $(this).parent().siblings().removeClass('layui-nav-itemed');
            })
        });
    </script>

</body>

</html>